#include "awx_udp_parser.h"
#include <QDebug>

AWX_UDP_Parser::AWX_UDP_Parser(QUdpSocket *socket, QObject *parent) : QThread(parent)
{
    qDebug()<<"Socket:"<<socket;
}

void AWX_UDP_Parser::run()
{
    qDebug()<<this->objectName()<<"Thread id:"<<QThread::currentThreadId();
    int count = 0;
    while (true) {
        qDebug()<<"Thread id:"<<QThread::currentThreadId()<<" count:"<<count++;
    }
}
